package com.txy.webmanagement.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.command.BaseModel;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;

/**
 * 产品表
 *
 * @author wf
 * @date 2019-03-22$
 **/
@Table(name = "sys_product")
public class SysProduct extends BaseModel {
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 8, isNull = false, isKey = true, isAutoIncrement = true)
    private Integer id;
    @Column(name = "search_id", type = MySqlTypeConstant.VARCHAR, length = 50)
    private String searchId;
    @Column(name = "product_name", type = MySqlTypeConstant.VARCHAR, length = 200)
    private String productName;
    @Column(name = "product_ms", type = MySqlTypeConstant.VARCHAR, length = 200)
    private String prodoctMs;
    @Column(name = "enable", type = MySqlTypeConstant.INT)
    private Integer enable;
    @Column(name = "p_company_id", type = MySqlTypeConstant.VARCHAR, length = 200)
    private String pCompanyId;//所属公司Id
    @Column(name = "p_path_id", type = MySqlTypeConstant.VARCHAR, length = 200)
    private String pPathId;
    @Column(name = "p_price_id", type = MySqlTypeConstant.VARCHAR, length = 200)
    private String pPriceId;
    @Column(name = "create_time", type = MySqlTypeConstant.DATETIME)
    private Date createTime;

    public String getpCompanyId() {
        return pCompanyId;
    }

    public void setpCompanyId(String pCompanyId) {
        this.pCompanyId = pCompanyId;
    }

    public String getpPathId() {
        return pPathId;
    }

    public void setpPathId(String pPathId) {
        this.pPathId = pPathId;
    }

    public String getpPriceId() {
        return pPriceId;
    }

    public void setpPriceId(String pPriceId) {
        this.pPriceId = pPriceId;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSearchId() {
        return searchId;
    }

    public void setSearchId(String searchId) {
        this.searchId = searchId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProdoctMs() {
        return prodoctMs;
    }

    public void setProdoctMs(String prodoctMs) {
        this.prodoctMs = prodoctMs;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


}
